#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: nop.sh
# Description: 
#   
# Edit History: 
#   2011-01-17    File created.
#========================================================================
CMD=hello
#a command that does nothing and thus can be safely inserted anywhere a command is needed for
#purely syntactical reasons
if [ -x $CMD ]
then :
else
	echo Error: $CMD is not executable >&2
fi

#Because the : always returns a successful result, it is sometimes used to create an infinite loop
while :
do
	echo "Enter some input: "
	read INPUT
	[ "$INPUT" = stop ] && break
done
